#ifndef UPDATE_H
#define	UPDATE_H

#ifdef	__cplusplus
extern "C" {
#endif

#ifndef UPDATER_H
#define UPDATER_H
    void update(int body, int step);
#endif

#ifndef SET_H
#define SET_H
    void set(double timestep, int totalBodies, int length);
#endif

#ifndef SETVAR_H
#define SETVAR_H
    void setVar(double *mass, double *acc, double *vel, double *pos);
#endif

#ifndef SETPOS_H
#define SETPOS_H
    void setPos(double x, double y, double z, int body, int currentStep);
#endif
#ifndef SETPOS2_H
#define SETPOS2_H
    void setPos2(double res[], int body, int currentStep);
#endif


#ifndef GETPOS_H
#define GETPOS_H
    double * getPos(int body, int currentStep);
#endif
#ifndef GETPOS2_H
#define GETPOS2_H
    void getPos2(double * val, int body, int currentStep);
#endif

#ifndef WRITE_H
#define WRITE_H
    void writeCSV(int step);
#endif



#ifdef	__cplusplus
}
#endif

#endif	/* UPDATE_H */
